package com.cskaoyan.service.wx;

import com.cskaoyan.vo.wx.WxCategoryVo;
import com.cskaoyan.vo.wx.WxGoodsDetailVo;
import com.cskaoyan.vo.wx.WxGoodsRelatedVo;
import com.cskaoyan.vo.wx.WxgoodListVo;

/**
 * @author hsp
 * @date 2021/5/13 20:03
 */
public interface WxGoodsService {
    Integer getGoodsCount();

    WxCategoryVo getCategoryMessage( Integer id);

    WxgoodListVo getGoodsListByCategoryId(Integer categoryId, Integer page, Integer size);

    WxgoodListVo getGoodsListByBrandId(Integer brandId, Integer page, Integer size);

    WxgoodListVo getGoodsListByKeyword(String keyword, Integer page, Integer size,String sort,String order);


    WxGoodsDetailVo getDetail(Integer id);

    WxGoodsRelatedVo getRelated(Integer id);
}
